<template>
    <div>
        <el-breadcrumb separator="/" class="tpay">
            <el-breadcrumb-item :to="{ path: '/index/personal'}">个人中心</el-breadcrumb-item>
            <el-breadcrumb-item :to="{ path: '/index/personal/cart'}">购物车管理</el-breadcrumb-item>
            <el-breadcrumb-item :to="{ path: '/index/setOrder?data=%5B%5D'}">我的订单</el-breadcrumb-item>
            <el-breadcrumb-item>订单支付</el-breadcrumb-item>
        </el-breadcrumb>
        <br><el-divider></el-divider>
        <div class="pay">
        <h2>应付金额:<span style="color:#f00">￥{{totalPrice}}元</span></h2>
        <p>订单编号:{{orderId}}</p>
        <p>
            <el-button @click="$router.push('/index/personal')">取消</el-button>
            <el-button @click="pay">立即支付</el-button>
        </P>
    </div>
    </div>
</template>

<script src="../assets/js/PayView.js"></script>
<style src="../assets/css/PayView.css" scoped></style>